package com.avamanager.app.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.avamanager.common.annotation.Excel;
import com.avamanager.common.core.domain.BaseEntity;

/**
 * 奖惩信息对象 app_reward_punishment
 * 
 * @author FenvyYe
 * @date 2022-08-15
 */
public class AppRewardPunishment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 奖惩字段ID */
    private Long rewardPunishmentId;

    /** 学生ID */
    @Excel(name = "学生ID")
    private Long studentId;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String studentName;

    /** 年级 */
    @Excel(name = "年级")
    private String grade;

    /** 奖惩时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "奖惩时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rewardPunishmentTime;

    /** 奖惩类别 */
    @Excel(name = "奖惩类别")
    private String rewardPunishmentCategory;

    /** 奖惩原因 */
    @Excel(name = "奖惩原因")
    private String rewardPunishmentReason;

    /** 奖惩描述 */
    @Excel(name = "奖惩描述")
    private String rewardPunishmentDescription;

    /** 奖惩级别 */
    @Excel(name = "奖惩级别")
    private String rewardPunishmentLevel;

    /** 奖惩状态 */
    @Excel(name = "奖惩状态")
    private String rewardPunishmentStatus;

    public void setRewardPunishmentId(Long rewardPunishmentId) 
    {
        this.rewardPunishmentId = rewardPunishmentId;
    }

    public Long getRewardPunishmentId() 
    {
        return rewardPunishmentId;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }
    public void setGrade(String grade) 
    {
        this.grade = grade;
    }

    public String getGrade() 
    {
        return grade;
    }
    public void setRewardPunishmentTime(Date rewardPunishmentTime) 
    {
        this.rewardPunishmentTime = rewardPunishmentTime;
    }

    public Date getRewardPunishmentTime() 
    {
        return rewardPunishmentTime;
    }
    public void setRewardPunishmentCategory(String rewardPunishmentCategory) 
    {
        this.rewardPunishmentCategory = rewardPunishmentCategory;
    }

    public String getRewardPunishmentCategory() 
    {
        return rewardPunishmentCategory;
    }
    public void setRewardPunishmentReason(String rewardPunishmentReason) 
    {
        this.rewardPunishmentReason = rewardPunishmentReason;
    }

    public String getRewardPunishmentReason() 
    {
        return rewardPunishmentReason;
    }
    public void setRewardPunishmentDescription(String rewardPunishmentDescription) 
    {
        this.rewardPunishmentDescription = rewardPunishmentDescription;
    }

    public String getRewardPunishmentDescription() 
    {
        return rewardPunishmentDescription;
    }
    public void setRewardPunishmentLevel(String rewardPunishmentLevel) 
    {
        this.rewardPunishmentLevel = rewardPunishmentLevel;
    }

    public String getRewardPunishmentLevel() 
    {
        return rewardPunishmentLevel;
    }
    public void setRewardPunishmentStatus(String rewardPunishmentStatus) 
    {
        this.rewardPunishmentStatus = rewardPunishmentStatus;
    }

    public String getRewardPunishmentStatus() 
    {
        return rewardPunishmentStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rewardPunishmentId", getRewardPunishmentId())
            .append("studentId", getStudentId())
            .append("studentName", getStudentName())
            .append("grade", getGrade())
            .append("rewardPunishmentTime", getRewardPunishmentTime())
            .append("rewardPunishmentCategory", getRewardPunishmentCategory())
            .append("rewardPunishmentReason", getRewardPunishmentReason())
            .append("rewardPunishmentDescription", getRewardPunishmentDescription())
            .append("rewardPunishmentLevel", getRewardPunishmentLevel())
            .append("rewardPunishmentStatus", getRewardPunishmentStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
